﻿<%@ Page Title="Lệnh điều động" Language="C#" MasterPageFile="~/Page/Site.Master" AutoEventWireup="true" CodeBehind="lenh-dieu-dong.aspx.cs" EnableEventValidation="false" Inherits="VanTaiTMS.Page.lenh_dieu_dong" %>
<%@ Register src="../SubPage/uc-danh-muc-xe.ascx" tagname="uc" tagprefix="uc1" %>
<%@ Register src="../SubPage/uc-nhan-vien.ascx" tagname="uc" tagprefix="uc2" %>
<%@ Register src="../SubPage/uc-nhom-xe.ascx" tagname="uc" tagprefix="uc3" %>
<%@ Register src="../SubPage/uc-noi-giao-hang.ascx" tagname="uc" tagprefix="uc4" %>
<%@ Register src="../SubPage/uc-loai-xe.ascx" tagname="uc" tagprefix="uc5" %>
<%@ Register src="../SubPage/uc-khach-hang.ascx" tagname="uc" tagprefix="uc6" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<!---Check-all----->
<script type="text/javascript">
    function checkAll(checkId) {
        $('.bordered tbody input').each(function () {
            if ($('input#chkAll').is(":checked")) {
                $(this).attr({ 'checked': 'checked' });
                $(this).parent().parent().css({ 'background': 'rgb(208, 233, 198)' });
            } else {
                $(this).attr({ 'checked': false });
                $(this).parent().parent().css({ 'background': '#ffffff' });
            }
        })
    }
</script>
<!-------End------->

<!------Popup------>
<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#lenhdieudong').dialog({
            autoOpen: false,
            modal: true,
            draggable: true,
            height: "auto",
            width: "875",
            position: ['center', 50],
            resizable: false,
            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });          
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#duyetlenhdieudong').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,
            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#exporttoexcel').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,
            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#thongbao').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "372px",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });          
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#thongbaoxoa').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "372px",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });          
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#themnhanhsoxe').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#themnhanhtaixe').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#themnhanhnhomxe').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#themnhanhkhachhang').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#themnhanhnoigiaohang').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#themnhanhloaixe').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#hoantrahang').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "auto",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>

<script type="text/javascript">
    $(document).ready(function () {
        //setup new person dialog
        $('#thongbaoluu').dialog({
            autoOpen: false,
            draggable: true,
            height: "auto",
            width: "372px",
            position: ['center', 50],
            resizable: false,

            create: function (event) { $(event.target).parent().css('position', 'fixed'); },
            open: function (type, data) {
                $(this).parent().appendTo("form");
            }
        });
    });
</script>
<!-------End------->

<!---AutoComplete-->
<script type="text/javascript">
    function pageLoad(sender, args) {
        $(document).ready((function () {
            var availableTags1 = [ <%= SuggestionList %>];

            $("#<%= txtSearch.ClientID %>").autocomplete({
                source: availableTags1
            });
        }));

        $(function () {
            $(".textboxngaynhap").datepicker({
                showOn: "button",
                buttonImage: "../images/calendar.gif",
                dateFormat: 'dd/mm/yy',
                changeMonth: true,
                changeYear: true,
                buttonImageOnly: true
            }).val();
        });


        $(function () {
            $(".textboxfillter").datepicker({
                showOn: "button",
                buttonImage: "../images/calendar.gif",
                dateFormat: 'dd/mm/yy',
                changeMonth: true,
                changeYear: true,
                buttonImageOnly: true
            }).val();
        });

        $(function ($) {
            $(".textboxngaynhap").mask("99/99/9999"); //Kiem tra ngay nhap
            $(".textboxsodienthoai").mask("(9999) 999-999");//Kiem tra so dien thoai
            $(".textboxsodienthoai11").mask("(99999) 999-999");//Kiem tra so dien thoai
        });

    //Check Row Hender Color
        $(document).ready(function () {
            $('.adminlist1 tr').click(function (event) {
                if (event.target.type !== 'checkbox') {
                    $(':checkbox', this).trigger('click');
                }
            });

            $("input[type='checkbox']").change(function (e) {
                if ($(this).is(":checked")) {
                    $(this).closest('tr').css("background", "Wheat");
                } else {
                    $(this).closest('tr').css("background", "");
                }
            });
        });

        //FixTable
        $(document).ready(function () {
            var table = $('#testTable1').DataTable({
                "scrollX": "100%",
                scrollCollapse: true,
                paging: false,
                searching: false,
                "sDom": '<"top">rt<"bottom"flp><"clear">'

            });
            new $.fn.dataTable.FixedColumns(table, {
                //"leftColumns": 4
            });
        });
    }
</script>
<!-------End------->
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:UpdatePanel ID="upDatePanelAll" runat="server">
<ContentTemplate>
    <div id="toolbar-1" class="yui3-toolbar">
        <asp:Panel id="panel1" runat="server" DefaultButton="cmdSerach">
            <div class="div-search_A">
            <asp:Button ID="cmdAddNew" runat="server" CssClass="btn-add-new"  Text="" onclick="cmdAddNew_Click" />
            <asp:Button ID="cmdEdit" runat="server" CssClass="btn-add-edit"  Text="" onclick="cmdEdit_Click" />
            <asp:Button ID="cmdDel" OnClientClick="return confirmCheckIn(this);" runat="server" CssClass="btn-add-delete"  Text="" onclick="cmdDel_Click" />
            </div>

            <div class="div-search-texbox">
            <asp:TextBox ID="txtSearch" placeholder="Nhập vào từ khoá tìm kiếm..." CssClass="textbox_child_Search" runat="server"></asp:TextBox>      
            </div>

            <div class="div-search">
            <asp:Button ID="cmdSerach" runat="server" CssClass="btn-add-search" Text="" OnClick="cmdSerach_Click" />
            <asp:Button ID="cmdRefesh" runat="server" CssClass="btn-add-refesh"  Text="" onclick="cmdRefesh_Click" />
           

            <asp:Button ID="cmdDuyet" runat="server" CssClass="btn-add-review" OnClick="cmdDuyet_Click" />
            <asp:Button ID="cmdExport" runat="server" CssClass="btn-add-excel"  Text=""  OnClick="cmdExport_Click" />
           </div>
            
            <div class="div-search-select">
                 <asp:DropDownList ID="drTrangThai" CssClass="select-drop-child-a" runat="server" AutoPostBack="true" AppendDataBoundItems="true" OnSelectedIndexChanged="drTrangThai_SelectedIndexChanged">
                    <asp:ListItem Value="">--Vui lòng chọn trạng thái--</asp:ListItem>
                    <asp:ListItem Value="1">Đã duyệt</asp:ListItem>
                    <asp:ListItem Value="0">Chưa duyệt</asp:ListItem>
                </asp:DropDownList>
            </div>
        </asp:Panel>
        <div class="clr"></div>
    </div>
        
    <div id="toolbar-2" class="yui3-toolbar">
        <asp:Panel id="panel2" runat="server" DefaultButton="cmdFilter" >
            <div class="div-search-texbox-date-fillter">
                <asp:TextBox ID="txtTuNgayNgayNhapKho" placeholder="Từ ngày" CssClass="textboxngaynhap" Width="150px" runat="server"></asp:TextBox>
                <asp:TextBox ID="txtDenNgayNhapKho" placeholder="Đến ngày ngày" CssClass="textboxngaynhap" Width="150px" runat="server"></asp:TextBox>
            </div>

            <div class="div-search_B">
                <asp:Button ID="cmdFilter" CssClass="btn-add-fillter" runat="server" ToolTip="Lọc" OnClick="cmdFilter_Click" />
                <asp:Button ID="btnXemChiTiet" runat="server" CssClass="btn btn-default btn-sm btn-detail" ToolTip="Xem chi tiết" Text="Xem chi tiết" OnClick="btnXemChiTiet_Click" />
                <asp:Button ID="btnSetStt" OnClientClick="return complete(this);" CssClass="btn btn-default btn-sm btn-detail" runat="server" ToolTip="Xét duyệt chuyến hàng" Text="Chuyển hàng hoàn tất" OnClick="btnSetStt_Click" />
            </div>
        </asp:Panel>
    <div class="clr"></div>    
    </div>
    <%=StrAlert%>
    <!-----------Hiễn-Thị-Dữ-Liệu------------>
    <div class="ui-main">
    <table  class="bordered" id="testTable1">
        <thead>
            <tr>
                <th width="5%">STT</th>        
                <th width="5%">
                    <input type="checkbox" onclick="checkAll('chkList');" id="chkAll">
                </th>
                <th width="10%">Mã điều động</th>
                <th width="10%">Ngày điều động</th>
                <th width="5%">Số xe</th>
                <th width="15%">Tài xế</th>
                <th width="15%">Nhóm xe</th>
                <th width="10%">Loại xe</th>
                <th width="15%">Trạng thái duyệt NV</th>
                <th width="15%">Trạng thái duyệt LĐ</th>
            </tr>
        </thead>

        <tbody>
             <asp:ListView ID="ListViewAll" runat="server" ItemPlaceholderID="lstViewAll" DataKeyNames="DommandTransferOrder_ID" OnItemCommand="ListViewAll_ItemCommand" OnItemDataBound="ListViewAll_ItemDataBound">
                <ItemTemplate>
                    <tr>
                        <td align="center" style="text-align:center">
                            <asp:Label ID="lb_lst_ID" runat="server" Text='<%# Eval("DommandTransferOrder_ID") %>'></asp:Label>
                        </td>

                        <td style="text-align:center">
                            <asp:CheckBox ID="chkList" onclick='highlight(this)' ClientIDMode="Static" runat="server" />
                        </td>

                        <td style="text-align:center">
                            <asp:Label ID="lbMa" runat="server" Text='<%# Eval("DommandTransferOrder_Alias") %>'></asp:Label>
                            <input type="hidden" id="hiddenId" value='<%# Eval("DommandTransferOrder_ID") %>' runat="server" name="hiddenId" />
                        </td>

                        <td style="text-align:center">
                            <asp:LinkButton ID="linkListName" CommandName="Accept" runat="server"><%# Eval("DommandTransferOrder_Date","{0:dd/MM/yyyy}")%></asp:LinkButton>
                        </td>

                        <td style="text-align:center">
                            <asp:LinkButton ID="linkListName_A" CommandName="Accept" runat="server"><%# Eval("Vehicle_Number")%></asp:LinkButton>
                        </td>

                        <td style="text-align:center">
                            <asp:LinkButton ID="linkListName_B" CommandName="Accept" runat="server"><%# Eval("FullNameMem")%></asp:LinkButton>
                        </td>

                        <td style="text-align:center">
                            <asp:LinkButton ID="linkListName_C" CommandName="Accept" runat="server"><%# Eval("VehicleGroup_Name_Old")%></asp:LinkButton>
                        </td>

                        <td style="text-align:center">
                            <asp:LinkButton ID="linkListName_D" CommandName="Accept" runat="server"><%# Eval("Type_Vehicle_Name")%></asp:LinkButton>
                            <asp:LinkButton ID="link_stt" CommandName="Accept" runat="server" Visible="false" Text='<%# Eval("DommandTransferOrder_Stt")%>'></asp:LinkButton>
                        </td>

                        <td style="text-align:center">
                            <asp:Label ID="lbDuyet" runat="server" Visible="false" Text='<%# Eval("DommandTransferOrder_Status_Mem") %>'></asp:Label>
                            <div id="dvip1" runat="server" visible='<%# Convert.ToInt32(Eval("DommandTransferOrder_Status_Mem")) == 1 %>'>
                                Đã duyệt
                            </div>

                            <div id="dvip2" runat="server" visible='<%# Convert.ToInt32(Eval("DommandTransferOrder_Status_Mem")) == 0 %>'>
                                Chưa duyệt
                            </div>
                        </td>

                        <td style="text-align:center">
                            <div id="dvip3" runat="server" visible='<%# Convert.ToInt32(Eval("DommandTransferOrder_Leadership")) == 0 %>'>
                                Chưa duyệt
                            </div>

                            <div id="dvip4" runat="server" visible='<%# Convert.ToInt32(Eval("DommandTransferOrder_Leadership")) == 1 %>'>
                                Đang chờ duyệt
                            </div>

                            <div id="dvip5" runat="server" visible='<%# Convert.ToInt32(Eval("DommandTransferOrder_Leadership")) == 2 %>'>
                                Đã duyệt
                            </div>
                        </td>
                    </tr>
                </ItemTemplate>
                <LayoutTemplate>
                    <asp:PlaceHolder runat="server" ID="lstViewAll"></asp:PlaceHolder>
                </LayoutTemplate>
             </asp:ListView>
        </tbody>
    </table>
    <!--------------Kêt-thúc----------------->
    <div class="clr"></div>
    </div>
    <!-------------Phân-trang---------------->
    <table  class="bordered">
        <thead>
            <tr>
                <th class="pager">
                    <asp:DataPager ID="DataPagerListAll" runat="server" 
                        OnPreRender="DataPagerListAll_PreRender" PagedControlID="ListViewAll">
                        <Fields>
                            <asp:NextPreviousPagerField FirstPageText="&lt;&lt;" PreviousPageText="&lt;" 
                                ShowFirstPageButton="True" ShowNextPageButton="False" />
                            <asp:NumericPagerField />
                            <asp:NextPreviousPagerField LastPageText="&gt;&gt;" NextPageText="&gt;" 
                                ShowLastPageButton="True" ShowPreviousPageButton="False" />
                        </Fields>
                    </asp:DataPager>
                </th>
            </tr>
        </thead>
    </table>
    <!--------------Kêt-thúc----------------->

    <div style="height:30px"></div>

    <!-----------Hiễn-Thị-Dữ-Liệu------------>
    <div class="ui-main">
    <label class="label"><span style="color:red">Thông tin chi tiết </span></label>
        <table  class="bordered">
            <thead>
                <tr>
                    <th width="5%">STT</th>
                    <th width="5%">Mã phiếu CT</th>
                    <th width="5%">Khối lượng</th>
                    <th width="5%">Số lượng xuất</th>
                </tr>
            </thead>

            <tbody>
                <asp:ListView ID="ListViewDoLine" runat="server" ItemPlaceholderID="lstViewDoLine" DataKeyNames="TMCommandTransferOrder_Id">
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center">
                                <asp:Label ID="lb_lst_ID" runat="server" Text='<%# Eval("ROW_ID") %>'></asp:Label>
                            </td>

                            <td style="text-align:center">
                                <asp:Label ID="Label7" runat="server" Text='<%# Eval("No_") %>'></asp:Label>
                            </td>

                            <td style="text-align:center">
                                <asp:Label ID="Label8" runat="server" Text='<%# Eval("NetWeight") %>'></asp:Label>
                            </td>

                            <td style="text-align:center">
                                <asp:Label ID="Label9" runat="server" Text='<%# Eval("Quality_out") %>'></asp:Label>
                            </td>
                        </tr>
                    </ItemTemplate>

                    <LayoutTemplate>
                        <asp:PlaceHolder runat="server" ID="lstViewDoLine"></asp:PlaceHolder>
                    </LayoutTemplate>
                </asp:ListView>
            </tbody>
        </table>
    <div class="clr"></div>
    </div>
    <!--------------Kêt-thúc----------------->

    <!-------------Phân-trang---------------->
    <table  class="bordered">
        <thead>
            <tr>
                <th class="pager">
                    <asp:DataPager ID="DataPagerDoLine" runat="server" 
                        OnPreRender="DataPagerDoLine_PreRender" PagedControlID="ListViewDoLine">
                        <Fields>
                            <asp:NextPreviousPagerField FirstPageText="&lt;&lt;" PreviousPageText="&lt;" 
                                ShowFirstPageButton="True" ShowNextPageButton="False" />
                            <asp:NumericPagerField />
                            <asp:NextPreviousPagerField LastPageText="&gt;&gt;" NextPageText="&gt;" 
                                ShowLastPageButton="True" ShowPreviousPageButton="False" />
                        </Fields>
                    </asp:DataPager>
                </th>
            </tr>
        </thead>
    </table>
    <!--------------Kêt-thúc----------------->
</ContentTemplate>
</asp:UpdatePanel>

<!-------------Edit-Dữ-Liệu-------------->
<div id="lenhdieudong" title="Cập nhật lệnh điều động">
    <asp:UpdatePanel ID="upNewUpdatePanel" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <div class="toolbar-ui-all-big">
                 <asp:ImageButton CssClass="button-all" ID="imgSave" ImageAlign="Middle" 
                    ImageUrl="~/Icon/save.png" runat="server" 
                    onclick="imgSave_Click" />

                 <asp:ImageButton CssClass="button-all" ID="imgrefesh" ImageAlign="Middle" 
                    ImageUrl="~/Icon/refesh-ui.png" ToolTip="Làm tươi" runat="server" 
                    onclick="imgrefesh_Click" />
            </div>
            <div class="clr"></div>
            <div class="ui-main">
                <label class="label"><span style="color:Red">Thông tin chung</span></label>
                <div class="clr"></div>
                <div style="display: none"><asp:Label ID="lbID" runat="server"></asp:Label></div>
                <div class="ui-box-text-box">
                    <label class="label">Mã điều động <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtMaDieuDong" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Ngày điều động <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtNgayDieuDong" CssClass="textboxngaynhap" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">
                        Chọn số xe <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkThemNhanhSoXe" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkThemNhanhSoXe_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drSoXe" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True" OnSelectedIndexChanged="drSoXe_SelectedIndexChanged">
                        <asp:ListItem Value="-1">--Vui lòng chọn số xe--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">
                        Chọn tài xế <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkThemNhanhTaiXe" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkThemNhanhTaiXe_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drTaiXe" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True" OnSelectedIndexChanged="drTaiXe_SelectedIndexChanged">
                        <asp:ListItem Value="-1">--Vui lòng chọn tài xế--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="clr"></div>
                <div class="ui-box-text-box">
                    <label class="label">
                        Chọn Nhóm xe <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkThemNhanhNhomXe" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkThemNhanhNhomXe_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drNhomXe" runat="server" CssClass="select-drop" AutoPostBack="true"
                        AppendDataBoundItems="True">
                        <asp:ListItem Value="-1">--Vui lòng chọn nhóm xe--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">
                        Chọn loại xe <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkLoaiXeThemNhanh" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkLoaiXeThemNhanh_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drLoaiXe" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True" OnSelectedIndexChanged="drLoaiXe_SelectedIndexChanged">
                        <asp:ListItem Value="-1">--Vui lòng chọn loại xe--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Không gian <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtKhongGian" onkeypress="return ValidateKeypress(/\d/,event);" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Trọng lượng xe <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtTrongLuongXe" onkeypress="return ValidateKeypress(/\d/,event);" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Đơn vị tính của xe <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtDonviTinhXe" onkeypress="return ValidateKeypress(/\d/,event);" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Số Booking</label>
                    <asp:TextBox ID="txtSoBooking" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Số Cont</label>
                    <asp:TextBox ID="txtSoCount" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Số KM</label>
                    <asp:TextBox ID="txtSoKM" CssClass="textbox" onkeyup="this.value=FormatNumber(this.value);" runat="server"></asp:TextBox>
                </div>
                <div class="clr"></div>

                <div class="ui-box-text-box">
                    <label class="label">Số dầu</label>
                    <asp:TextBox ID="txtSoDau" CssClass="textbox" onkeyup="this.value=FormatNumber(this.value);" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box-note-child-tranfer">
                    <label class="label">Yêu câu</label>
                    <asp:TextBox ID="txtYeuCau" TextMode="MultiLine" CssClass="textbox-muiti-note_Child-tranfer" runat="server"></asp:TextBox>
                </div>

                
            <div class="clr"></div>
            </div>
            <div class="clr"></div>
            <div style="height:10px"></div>
            <div class="ui-main">
                <label class="label"><span style="color:Red">Thông khách hàng</span></label>
                <div class="clr"></div>
                <div class="ui-box-text-box">
                    <label class="label">
                        Chọn khách hàng <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkThemNhanhKhachHang" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkThemNhanhKhachHang_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drKhachHang" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True">
                        <asp:ListItem Value="-1">--Vui lòng chọn khách hàng--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">
                        Nơi nhận Cont <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkThemNhanhNoiGiaoHang" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="llinkThemNhanhNoiGiaoHang_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drNoiNhanCont" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True">
                        <asp:ListItem Value="-1">--Vui lòng chọn nơi nhận Cont--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">
                        Nơi trả Cont <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkNoiNhanCont" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkNoiNhanCont_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drNoiTraCont" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True">
                        <asp:ListItem Value="-1">--Vui lòng chọn nơi trả Cont--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">
                        Nơi nhận hàng <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkNoiNhanHang" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkNoiNhanHang_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drNoiNhanHang" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True">
                        <asp:ListItem Value="-1">--Vui lòng chọn nơi nhận hàng--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">
                        Nơi trả hàng <span style="color:Red">(*)</span>
                        <span style="text-align:right;color:blue">
                        <asp:LinkButton ID="linkNoiTraHang" runat="server" ToolTip="Thêm nhanh vào bảng nếu chưa có" OnClick="linkNoiTraHang_Click">[...]</asp:LinkButton>
                        </span>
                    </label>
                    <asp:DropDownList ID="drNoiTraHang" CssClass="select-drop" runat="server" AutoPostBack="true"
                        AppendDataBoundItems="True">
                        <asp:ListItem Value="-1">--Vui lòng chọn nơi trả hàng--</asp:ListItem>
                    </asp:DropDownList>
                </div>

                <div class="ui-box-text-box-note-child-tranfer">
                    <label class="label">Ghi chú</label>
                    <asp:TextBox ID="txtGhiChu" TextMode="MultiLine" CssClass="textbox-muiti-note_Child-tranfer" runat="server"></asp:TextBox>
                </div>
                <div class="clr"></div>
            </div>
            <div style="height:10px"></div>
            <div class="ui-main">
            <div class="ui-box-text-box">
                <label class="label">Cấp độ duyệt cấp 1 <span style="color:Red">(*)</span></label>
                <asp:DropDownList ID="drCapDoDuyetCap1" CssClass="select-drop" runat="server" AutoPostBack="true" AppendDataBoundItems="True">
                    <asp:ListItem Value="-1">--Chọn cấp độ duyệt cấp 1--</asp:ListItem>
                </asp:DropDownList>
                </div>

            <div class="ui-box-text-box">
            <label class="label">Cấp độ duyệt cấp 2 <span style="color:Red">(*)</span></label>
            <asp:DropDownList ID="drCapDoDuyetCap2" CssClass="select-drop" runat="server" AutoPostBack="true" AppendDataBoundItems="True">
                <asp:ListItem Value="-1">--Chọn cấp độ duyệt cấp 2--</asp:ListItem>
            </asp:DropDownList>
            </div>
            <div class="clr"></div>
            </div>
            <div style="height:10px"></div>
            <div class="ui-main">
                 <asp:Label ID="lbIDDO_Edit" runat="server" Visible="false" Text=""></asp:Label>
                 <asp:Label ID="lbChieuDai" runat="server" Visible="false" Text=""></asp:Label>
                 <asp:Label ID="lbChieuRong" runat="server" Visible="false" Text=""></asp:Label>
                 <asp:Label ID="lbChieuCao" runat="server" Visible="false" Text=""></asp:Label>
            <div class="clr"></div>
            </div>
            <div class="clr"></div>
            <asp:UpdateProgress ID="UpdateProgress1" runat="server"  AssociatedUpdatePanelID="upNewUpdatePanel">
                <ProgressTemplate>
                    <img alt='loadding' class="loading" src="../images/loading-fb.gif" /><br />
                    <div class="loading-label-right">
                        Đang xử lý dữ liệu...
                    </div>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="imgSave" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->

<!-------------Duyệt-Dữ-Liệu------------->
<div id="duyetlenhdieudong" title="Duyệt lệnh điều động">
    <asp:UpdatePanel ID="upDatePanelDuyetLenh" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <div class="toolbar-ui-all-big">
                 <asp:ImageButton CssClass="button-all" ID="ImgXetDuyet" ImageAlign="Middle" 
                    ImageUrl="~/Icon/duyet.png" runat="server" 
                    onclick="ImgXetDuyet_Click" />

                 <asp:ImageButton CssClass="button-all" ID="ImgRefeshDuyet" ImageAlign="Middle" 
                    ImageUrl="~/Icon/refesh-ui.png" ToolTip="Làm tươi" runat="server" 
                    onclick="ImgRefeshDuyet_Click" />
            </div>
            <div class="clr"></div>
            <div class="ui-main">
                <div style="display:none">
                    <asp:Label ID="lbIDDuyet" runat="server" Text=""></asp:Label>
                </div>

                <div style="display:none">
                    <asp:CheckBox ID="chkHide" runat="server" Checked='<%# Eval("Trạng Thái") %>' Enabled="false" />
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Email của bạn <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtYourMail" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="ui-box-text-box">
                    <label class="label">Email người nhận <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtEmailResive" CssClass="textbox" runat="server"></asp:TextBox>
                </div>

                <div class="clr"></div>

                <div class="ui-box-text-box-note-child">
                    <label class="label">Nội dung Email</label>
                    <asp:TextBox ID="txtContent" TextMode="MultiLine" CssClass="textbox-muiti-note_Child" runat="server"></asp:TextBox>
                </div>

                <div class="clr"></div>
                <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="upDatePanelDuyetLenh">
                    <ProgressTemplate>
                        <img alt="Loading..." src="../images/loading6.gif" /><br />
                        Đang xử lý dữ liệu
                    </ProgressTemplate>
                </asp:UpdateProgress>
                <div class="clr"></div>
            </div>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="ImgXetDuyet" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->

<!----------Export-to-Excel-------------->
<div id="exporttoexcel" title="Duyệt lệnh điều động">
    <asp:UpdatePanel ID="upDatePanelExportToExcel" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <div class="toolbar-ui-all-big">
                <asp:TextBox ID="txtTuNgayNhapKhoExport" CssClass="textboxfillter" placeholder="Từ ngày ngày" runat="server"></asp:TextBox>
                <asp:TextBox ID="txtDenNgayNhapKhoExport" CssClass="textboxfillter" placeholder="Đến ngày"  runat="server"></asp:TextBox>
                <asp:ImageButton CssClass="button-all" ID="cmdFillterExport" ImageAlign="Middle" 
                    ImageUrl="~/Icon/fillter.png" runat="server" ToolTip="Lọc dữ liệu"
                    onclick="cmdFillterExport_Click" />

                <asp:TextBox ID="txtNameReport" Visible="false" CssClass="textbox_export" placeholder="Nhập vào tên file để xuất dữ liệu" runat="server"></asp:TextBox>
                <asp:ImageButton CssClass="button-all" ID="cmdExportToExcel" Visible="false" ImageAlign="Middle"  ImageUrl="~/Icon/ExportToExcel.png" runat="server" ToolTip="Xuất ra File Excel" OnClick="cmdExportToExcel_Click" /> 
                <asp:ImageButton CssClass="button-all" ID="ImageButton1" ImageAlign="Middle" ImageUrl="~/Icon/ExportToExcel.png" 
                 OnClientClick="tableToExcel('testTable', 'W3C Example Table')"   ToolTip="Xuất ra File Excel" runat="server" />

                <asp:ImageButton CssClass="button-all" ID="ImgRefeshExport" ImageAlign="Middle" 
                    ImageUrl="~/Icon/refesh-ui.png" ToolTip="Làm tươi" runat="server" 
                    onclick="ImgRefeshExport_Click" />

                
               <%-- <input type="button" title="Xuất ra tập tin Excel" onclick="tableToExcel('testTable', 'W3C Example Table')" class="button-all" />--%>
            </div>

            <asp:Panel ID="PaneViewData" runat="server">
                <table cellspacing="1" style="border: 1px solid #000" width="100%" id="testTable">
                    <tr>
                        <th style="border: 1px solid #000">
                            STT
                        </th>
                        <th style="border: 1px solid #000">
                            Mã điều động
                        </th>
                        <th style="border: 1px solid #000">
                            Ngày điều động
                        </th>
                        <th style="border: 1px solid #000">
                            Số xe
                        </th>
                        <th style="border: 1px solid #000">
                            Tài xế
                        </th>
                        <th style="border: 1px solid #000">
                            Nhóm xe
                        </th>
                        <th style="border: 1px solid #000">
                            Số Booking
                        </th>
                        <th style="border: 1px solid #000">
                            Số Cont
                        </th>
                        <th style="border: 1px solid #000">
                            Khách hàng
                        </th>
                        <th style="border: 1px solid #000">
                            Nơi nhận Cont
                        </th>
                        <th style="border: 1px solid #000">
                            Nơi trả Cont
                        </th>
                        <th style="border: 1px solid #000">
                            Nơi nhận hàng
                        </th>
                        <th style="border: 1px solid #000">
                            Nơi trả hàng
                        </th>
                        <th style="border: 1px solid #000">
                            Số KM
                        </th>
                        <th style="border: 1px solid #000">
                            Số dầu
                        </th>
                        <th style="border: 1px solid #000">
                            Loại Cont
                        </th>
                        <th style="border: 1px solid #000">
                            Yêu cầu
                        </th>
                        <th style="border: 1px solid #000">
                            Ghi chú
                        </th>
                    </tr>

                    <asp:ListView ID="ListViewExportToExcel" runat="server">
                        <ItemTemplate>
                            <tr class="row0">
                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="lbIDDVTIntoVatTuCN" runat="server" Text='<%# Eval("DommandTransferOrder_ID") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <em>
                                        <asp:Label ID="lbDVTIntoMaVatTuCNBD" runat="server" Text='<%# Eval("DommandTransferOrder_Alias") %>'></asp:Label></em>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="lbTenDVTIntoVatTuCN" runat="server" Text='<%# Eval("DommandTransferOrder_Date","{0:dd/MM/yyyy}") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="lbTyLeDVTIntroVatTuCN" runat="server" Text='<%# Eval("Vehicle_Number") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("FullNameMem") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label2" runat="server" Text='<%# Eval("VehicleGroup_Name_Old") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label3" runat="server" Text='<%# Eval("DommandTransferOrder_Booking_Number") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label6" runat="server" Text='<%# Eval("DommandTransferOrder_Cont_Number") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label23" runat="server" Text='<%# Eval("Customers_Name") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label14" runat="server" Text='<%# Eval("Delivery_Name_REQUEST_CONT") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label15" runat="server" Text='<%# Eval("Delivery_Name_RESPONE_CONT") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label16" runat="server" Text='<%# Eval("Delivery_Name_REQUEST_STOCK") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label17" runat="server" Text='<%# Eval("Delivery_Name_RESPONE_STOCK") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label18" runat="server" Text='<%# Eval("DommandTransferOrder_Delivery_KM_Number") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label19" runat="server" Text='<%# Eval("DommandTransferOrder_Delivery_Oil_Number") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label20" runat="server" Text='<%# Eval("Cont_Name") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label21" runat="server" Text='<%# Eval("DommandTransferOrder_Request") %>'></asp:Label>
                                </td>

                                <td align="center" style="border: 1px solid #000">
                                    <asp:Label ID="Label22" runat="server" Text='<%# Eval("DommandTransferOrder_Note") %>'></asp:Label>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:ListView>
                </table>
            </asp:Panel>
        </ContentTemplate>
       <%-- <Triggers>
            <asp:AsyncPostBackTrigger ControlID="cmdExportToExcel" EventName="Click" />
        </Triggers>--%>
    </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->

<!-------------Hoan-Tra-Hang------------->
<div id="hoantrahang" title="Hoàn trả hàng hoá">
     <asp:UpdatePanel ID="upDatePanel1" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <div class="toolbar-ui-all-big">
                 <asp:ImageButton CssClass="button-all" ID="imgBack" ImageAlign="Middle" 
                    ImageUrl="~/Icon/save.png" OnClick="imgBack_Click" runat="server" />
            </div>
            <div class="clr"></div>
            <div class="ui-main">
                <div class="ui-box-text-box">
                    <label class="label">Số lượng hoàn trả <span style="color:Red">(*)</span></label>
                    <asp:TextBox ID="txtHoanTra" onkeypress="return ValidateKeypress(/\d/,event);" CssClass="textbox" runat="server"></asp:TextBox>
                </div>
            </div>
            <div class="clr"></div>
        </ContentTemplate>
     </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->

<!-------------Thông-Bao-Xoá------------->
<div id="thongbaoxoa" title="Thông Báo">
    <asp:UpdatePanel ID="upDatePanelThongBaoXoa" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <div style="display:none">
                <asp:Label ID="lbIDXoa" runat="server" Text=""></asp:Label>
                <asp:Label ID="lbTrangThaiDuyet" runat="server" Text=""></asp:Label>
            </div>
            <p>
                <span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
                <asp:Label ID="lbThongBaoXoa" CssClass="error-msg" runat="server" Text=""></asp:Label>
            </p>
            <hr />
            <div class="toolbar-ui-footer">
                <asp:Button ID="cmdAgree" CssClass="btn btn-info" Height="29px" runat="server" 
                    Text="Đồng ý" onclick="cmdAgree_Click" />

                <asp:Button ID="cmdClose" CssClass="btn btn-info" Height="29px" runat="server" 
                    Text="Bỏ qua" onclick="cmdClose_Click" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->

<!-------------Thông-Bao----------------->
<div id="thongbao" title="Thông Báo">
    <asp:UpdatePanel ID="updatePanelThongBao" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <p>
                <span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
                <asp:Label ID="lbThongBaoLoi" CssClass="error-msg" runat="server" Text=""></asp:Label>
            </p>
            <hr />
            <div class="toolbar-ui-footer">
                <asp:Button ID="cmdCloseThongBao" CssClass="btn btn-info" Height="29px" runat="server" 
                    Text="Đóng lại" onclick="cmdCloseThongBao_Click" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->

<!-------------Thông-Bao-Xoá------------->
<div id="thongbaoluu" title="Thông Báo">
    <asp:UpdatePanel ID="upDateThongBaoLuu" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
        <ContentTemplate>
            <div style="display:none">
                <asp:Label ID="Label4" runat="server" Text=""></asp:Label>
                <asp:Label ID="Label5" runat="server" Text=""></asp:Label>
            </div>
            <p>
                <span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
                <asp:Label ID="lbCanhBao" CssClass="error-msg" runat="server" Text=""></asp:Label>
            </p>
            <hr />
            <div class="toolbar-ui-footer">
                <asp:Button ID="cmdSave" CssClass="btn btn-info" Height="29px" runat="server" 
                    Text="Đồng ý" onclick="cmdSave_Click" />

                <asp:Button ID="cmdCancel" CssClass="btn btn-info" Height="29px" runat="server" 
                    Text="Bỏ qua" onclick="cmdCancel_Click" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->

<!-------------Thêm-Nhanh----------------->
<div id="themnhanhsoxe" title="Thêm nhanh">
     <asp:UpdatePanel ID="updatePanelThemNhanhSoXe" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
         <ContentTemplate>
             <uc1:uc ID="uc1" runat="server" />
         </ContentTemplate>
     </asp:UpdatePanel>
</div>

<div id="themnhanhtaixe" title="Thêm nhanh">
     <asp:UpdatePanel ID="updatePanelThemNhanhTaiXe" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
         <ContentTemplate>
             <uc2:uc ID="uc2" runat="server" />
         </ContentTemplate>
     </asp:UpdatePanel>
</div>

<div id="themnhanhnhomxe" title="Thêm nhanh">
     <asp:UpdatePanel ID="updatePanelThemNhanhNhomXe" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
         <ContentTemplate>
             <uc3:uc ID="uc3" runat="server" />
         </ContentTemplate>
     </asp:UpdatePanel>
</div>

<div id="themnhanhkhachhang" title="Thêm nhanh">
     <asp:UpdatePanel ID="updatePanelThemNhanhKhachHang" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
         <ContentTemplate>
             <uc6:uc ID="uc6" runat="server" />
         </ContentTemplate>
     </asp:UpdatePanel>
</div>

<div id="themnhanhnoigiaohang" title="Thêm nhanh">
     <asp:UpdatePanel ID="updateThemNhanhNoiGiaoHang" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
         <ContentTemplate>
             <uc4:uc ID="uc4" runat="server" />
         </ContentTemplate>
     </asp:UpdatePanel>
</div>

<div id="themnhanhloaixe" title="Thêm nhanh">
     <asp:UpdatePanel ID="updatePanelThemNhanhLoaiXe" UpdateMode="Conditional" ChildrenAsTriggers="true" runat="server">
         <ContentTemplate>
             <uc5:uc ID="uc5" runat="server" />
         </ContentTemplate>
     </asp:UpdatePanel>
</div>
<!--------------Kêt-thúc----------------->
</asp:Content>
